package org.mozhu.learning.springboot.configurationproperties;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConfigurationController {

    @Autowired
    ConfigurationBean1 configurationBean1;

    @GetMapping("/configuration1")
    public Object getConfiguration1() {
        return configurationBean1;
    }
}
